﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="button_Style_polyline" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid>
                        <Rectangle StrokeThickness="0.5" Stroke="#232323" Cursor="Hand">
                            <Rectangle.Fill>
                                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                    <GradientStop Color="Silver" Offset="0.0" />
                                    <GradientStop Color="Gray" Offset="1.0" />
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Canvas ClipToBounds="True">
                            <Polyline
                                    Points="3,3 9,12 15,3 21,12 28,6"
                                    Stroke="Black"
                                    StrokeThickness="0.5" />
                            <TextBlock Background="Transparent" Margin="20,2.5,0,0" Foreground="#232323" Padding="0" FontSize="15">...</TextBlock>
                        </Canvas>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="button_Style_line" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid>
                        <Rectangle StrokeThickness="0.5" Stroke="#232323" Cursor="Hand">
                            <Rectangle.Fill>
                                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                    <GradientStop Color="Silver" Offset="0.0" />
                                    <GradientStop Color="Gray" Offset="1.0" />
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Canvas>
                            <Line X1="3" Y1="3" X2="28" Y2="15" Stroke="Black" StrokeThickness="0.5"></Line>
                            <TextBlock Background="Transparent" Margin="20,2.5,0,0" Foreground="#232323" Padding="0" FontSize="15">...</TextBlock>
                        </Canvas>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="button3Style" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid>
                        <Rectangle StrokeThickness="0.5" Stroke="#232323" Cursor="Hand">
                            <Rectangle.Fill>
                                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                    <GradientStop Color="Silver" Offset="0.0" />
                                    <GradientStop Color="Gray" Offset="1.0" />
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Canvas>
                            <Rectangle StrokeThickness="0.5" Stroke="#232323" Width="12.5" Height="7" Fill="#696969" Margin="4,4,0,0">
                            </Rectangle>
                            <Rectangle StrokeThickness="0.5" Stroke="#232323" Width="12.5" Height="7" Fill="#696969" Margin="19,4,0,0">
                            </Rectangle>
                            <Rectangle StrokeThickness="0.5" Stroke="#232323" Width="12.5" Height="7" Fill="#696969" Margin="4,14,0,0">
                            </Rectangle>
                            <TextBlock Margin="20,2.5,0,0" Foreground="#232323" Padding="0" FontSize="15">...</TextBlock>
                        </Canvas>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="button2Style" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid>
                        <Rectangle StrokeThickness="0.5" Stroke="#232323" Cursor="Hand">
                            <Rectangle.Fill>
                                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                                    <GradientStop Color="Silver" Offset="0.0" />
                                    <GradientStop Color="Gray" Offset="1.0" />
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition></ColumnDefinition>
                                <ColumnDefinition></ColumnDefinition>
                            </Grid.ColumnDefinitions>
                            <TextBlock Padding="5,4" Grid.Column="0">X</TextBlock>
                            <TextBlock Padding="5,4" Grid.Column="1">Y</TextBlock>
                        </Grid>
                        <Rectangle Width="0.5" Fill="Black" HorizontalAlignment="Center"></Rectangle>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="button1Style" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderThickness="0.75" BorderBrush="#232323" Background="#CACACA" Cursor="Hand">
                        <Border.Effect>
                            <DropShadowEffect Direction="Infinity"></DropShadowEffect>
                        </Border.Effect>
                        <Grid>
                            <Border BorderThickness="0.75" BorderBrush="#232323" Background="#575757" Width="20" Height="12">
                            </Border>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="button0Style" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderThickness="0.75" BorderBrush="#232323" Background="#CACACA" Cursor="Hand">
                        <Border.Effect>
                            <DropShadowEffect Direction="Infinity"></DropShadowEffect>
                        </Border.Effect>
                        <Canvas>
                            <Line Stroke="#232323" StrokeThickness="0.5" X1="0" Y1="6"  X2="35" Y2="6"></Line>
                            <Line Stroke="#232323" StrokeThickness="0.5" X1="0" Y1="12"  X2="35" Y2="12"></Line>
                            <Line Stroke="#232323" StrokeThickness="0.5" X1="0" Y1="18"  X2="35" Y2="18"></Line>

                            <Line Stroke="#232323" StrokeThickness="0.5" X1="7" Y1="25"  X2="7" Y2="0"></Line>
                            <Line Stroke="#232323" StrokeThickness="0.5" X1="14" Y1="25"  X2="14" Y2="0"></Line>
                            <Line Stroke="#232323" StrokeThickness="0.5" X1="21" Y1="25"  X2="21" Y2="0"></Line>
                            <Line Stroke="#232323" StrokeThickness="0.5" X1="28" Y1="25"  X2="28" Y2="0"></Line>
                        </Canvas>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="WindowStyle" TargetType="{x:Type DockPanel}">
        <Setter Property="Background" Value="Silver"></Setter>
    </Style>
    <Style x:Key="ToolPanelStyle" TargetType="{x:Type Border}">
        <Setter Property="Background" Value="#ffffff"></Setter>
    </Style>
    <Style x:Key="CanvasContainerStyle" TargetType="{x:Type Border}">
        <Setter Property="Background" Value="White"></Setter>
    </Style>
</ResourceDictionary>